Book Contents

Create Diagnostics buttons

At run time the diagnostics list shows information messages, warning messages, error messages and audit messages. The operator can use the Diagnostics buttons to clear the messages in the list. There are two types of Diagnostics buttons: Clear and Clear All.

When the operator presses the Clear button, the selected message is cleared. When the operator presses the Clear All button, all the messages in the system, including those in the currently selected list, are cleared.

Tip:

The default [DIAGNOSTICS] graphic display contains a Diagnostics list and the Clear and Clear All Diagnostics buttons. You can use the [DIAGNOSTICS] display as is, or modify the appearance of the buttons in the display. Or, you can create your own graphic display containing a Diagnostics list and Diagnostics buttons that you create.

To create a Diagnostics button

  1. In the Graphics Display editor, select Advanced > Diagnostics from the Objects menu, and then choose Clear or Clear All.
  2. Drag the mouse to position and draw a rectangle the general size and location you want the button to be.
  3. Double-click the button to open its Properties dialog box.
  4. In the Properties dialog box, specify how the button looks.

See also

Configure the Diagnostics button

Set up a caption and image for a button

Create diagnostics lists

How the diagnostics list works at run time